﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="sonicERPinterface.WebForm1" %>
<%@ Register TagPrefix="uc"  TagName="ucGRID" Src="~/adm/ucGRID.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <script  src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"  ></script>
   <link rel="Stylesheet" href="../Css/Master.css" media="all" />
        <script type="text/javascript">
           
            $(document).ready(function () {
                alert('ola jquery');
            });
            $(document).ready(function () {
                $('#link').click(function () {
                $('#conteudo').text('Altere o texto aqui')

                });
        });
        $(document).ready(function () {
            $('#link').click(function () {
                $('#conteudo').text($('#txtteste').val());
              });
        });
        $(document).ready(function () {
            $('#link1').click(function () {
                $('#Div1').text('Altere o texto aqui')

            });
        });
        $(document).ready(function () {
            $('#link1').click(function () {
                $('#TextBox1').val($('#Div1').text());
            });
        });

        $(document).ready(function () {
            $('#link3').click(function () {
                if ($('#Div2').css('background-color') === 'White') {
            $('#Div2').css("background", "#f00");
            }
            else
            {
             $('#Div2').css("background", "#p00");
             }
            });
        });
        
        

        </script>
       <style type="text/css">
       .teste
       {
        background-color:White;
        
       }
       
       </style>
    </head>
<body style="height: 713px">
    <form id="form1" runat="server">
    
    <div id="conteudo">
        <asp:Button ID="Button1" runat="server" Text="Excel" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button2" runat="server" Text="Xml" Height="26px" Width="49px" /> 
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button3" runat="server" Text="Javascript" Height="26px" Width="49px" /> 
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        <asp:Button ID="Button4" runat="server" Text="idade" Height="26px" Width="49px" /> 
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        <asp:Button ID="Button5" runat="server" Text="imprimir" Height="26px" 
            Width="49px" />
            <br /> 
                  <asp:Button ID="Button6" runat="server" Text="filtar com SELECT IN" Height="26px" 
            Width="196px" /> 
   
   <br />
   <br />
    
    
       
   <uc:ucGRID ID="UCGRID" runat="server" />
   <br />
        <asp:ListBox ID="ltbusuariohistorco" runat="server" Height="114px" 
            Width="158px" SelectionMode="Multiple"></asp:ListBox>
   <br />
     <br />
        <asp:GridView ID="gdvusuario" runat="server" BackColor="White" 
            BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
            Width="693px">
            <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
            <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
            <RowStyle BackColor="White" ForeColor="#330099" />
            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
            <SortedAscendingCellStyle BackColor="#FEFCEB" />
            <SortedAscendingHeaderStyle BackColor="#AF0101" />
            <SortedDescendingCellStyle BackColor="#F6F0C0" />
            <SortedDescendingHeaderStyle BackColor="#7E0000" />
        </asp:GridView>
   
       <a href="#" id="link">Modificar DIV</a>
<div id="conteudo"></div>
<asp:TextBox ID="txtteste" runat="server" ></asp:TextBox>
   <a href="#" id="link1">link1</a>
<div id="Div1"></div>
<asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox>
<a href="#" id="link3">Modificar CSS</a>
<div class="teste" id="Div2">
Conteúdo...
</div>
 </div>
    </form>
</body>
</html>
